home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
HILIGHT.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
2KB
|
52 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Hilight( nLine, cText, cColor ) --> NI
PARAMETERS:
nLine : Line to Highlight on
cText : text on nLine to highlight
cColor : color to highlight with
SHORT:
Highlight text wherever it appears on a screen or screen line.
DESCRIPTION:
_HighLight() reads the screen at the line specified in nLine and looks for
the text passed in cText. If found, it is rewritten on the screen in
the color specified in cColor.
if nLine is not specified, then the function looks for and highlights the
text wherever it occurs on the entire screen.
NOTE:
EXAMPLE:
@ 10,10 say 'Dear John,'
@ 12,10 say "I'm so sorry to have to tell you this..."
_HighLight(10,'John','w+/n')
_HighLight(,'John','w+/n')
Result: Both of these calls will do the same thing.
The first call specifies that the text is on line 10.
The second format can be used when the text has scrolled or moved, or when
you just forgot where you put it, or when you are feeling plain lazy and
do not want to figure which line it is on. The text "John" will
be highlighted wherever it occurs on the screen and as many times as
it occurs. (Specifying the line will cause only those occurances on that
line to be highlighted).
******************************************************************************/